<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="/jquery/jquery-2.1.3.min.js"></script>
<script type="text/javascript">
	window.onload = function(){
		var id = $("#donor_id").html();
		var time=$("#time").html();
		alert
		$("iframe").attr("src","http://localhost:8080/display/Collecting?donor_id="+id +"&time="+time);
	};
</script>
</head>
<body>
<a id=donor_id>123</a>
<a id=time >2017-08-09</a>
            
<iframe src= ""  width="100%" height="100%" > </iframe>
</body>
</html>
<!-- <iframe id="frame1" src="http://localhost:8080/Nvr/display/Collecting?donor_id=123&time=2017-08-09" height="100%" style="width: 100%;height:100%;" > </iframe>
												<script type="text/javascript">
												window.onload = function(){
													var id = $("#donor_id").html();
													var time=$("#time").html();
													$("iframe").attr("src","http://localhost:8080/Nvr/display/Collecting?donor_id="+id +"&time="+time);
												};
												</script> -->